package com.itheima.constant;

public interface Code {
    //    操作结果编码
    Integer SAVE_OK = 20011;
    Integer UPDATE_OK = 20021;
    Integer DELETE_OK = 20031;
    Integer GET_OK = 20041;

    Integer SAVE_ERROR = 20010;
    Integer UPDATE_ERROR = 20020;
    Integer DELETE_ERROR = 20030;
    Integer GET_ERROR = 20040;

    //    校验结果编码
    Integer DATA_LENGTH_ERROR = 30001;
    Integer DATA_VALUE_ERROR = 30002;

    Integer SYSTEM_ERROR = 50000;
}
